package net.zhengxinyun.performance.service.indicators;

import net.zhengxinyun.performance.entity.TownEntity;
import net.zhengxinyun.performance.entity.TownIndicatorsEntity;
import net.zhengxinyun.performance.entity.TownScoreEntity;
import net.zhengxinyun.performance.filter.TownFilter;
import net.zhengxinyun.performance.filter.TownIndicatorsFilter;
import net.zhengxinyun.performance.filter.TownScoreFilter;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * Created by hyp1202 on 2018/11/22.
 */
public interface TownScoreService {

    List<Map<String, Object>> query(TownIndicatorsFilter filter);

    String update(TownScoreEntity townScoreEntity);

    String insert(TownScoreEntity townScoreEntity);

    String delete(TownScoreEntity townScoreEntity);

    Integer getThreeTableCount(TownIndicatorsFilter townIndicatorsFilter);

    String setScore(TownIndicatorsFilter townIndicatorsFilter, List<TownIndicatorsFilter> list);

    String auditAllPass(List<TownIndicatorsFilter> list);

    String responsibleAllPass(List<TownIndicatorsFilter> list);

    String noPass(TownIndicatorsFilter townIndicatorsFilter);

    List<Map<String, Object>> queryForAudit(TownIndicatorsFilter filter);

    int getAuditCount(TownIndicatorsFilter townIndicatorsFilter);

    String setFirstFinalScore(TownIndicatorsFilter townIndicatorsFilter);

    public String importTownScore(MultipartFile file);
}
